package cn.gzjp.modules.rice.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import cn.gzjp.common.persistence.Page;
import cn.gzjp.common.service.CrudService;
import cn.gzjp.modules.rice.entity.RiceMemAddress;
import cn.gzjp.modules.rice.dao.RiceMemAddressDao;

/**
 * 会员地址Service
 * @author zengcp
 * @version 2018-11-17
 */
@Service
@Transactional(readOnly = true)
public class RiceMemAddressService extends CrudService<RiceMemAddressDao, RiceMemAddress> {

	public RiceMemAddress get(String id) {
		return super.get(id);
	}
	
	public List<RiceMemAddress> findList(RiceMemAddress riceMemAddress) {
		return super.findList(riceMemAddress);
	}
	
	public Page<RiceMemAddress> findPage(Page<RiceMemAddress> page, RiceMemAddress riceMemAddress) {
		return super.findPage(page, riceMemAddress);
	}
	
	@Transactional(readOnly = false)
	public void save(RiceMemAddress riceMemAddress) {
		super.save(riceMemAddress);
	}
	
	@Transactional(readOnly = false)
	public void delete(RiceMemAddress riceMemAddress) {
		super.deleteByLogic(riceMemAddress);
	}
	
}